﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="creditcard_list.aspx.cs" Inherits="EZCRS.HCMS.Web.manage.carduser.creditcard_list" %>
<%@ Register Src="../usercontrol/titlepage.ascx" TagName="titlepage" TagPrefix="uc2" %>
<%@ Register assembly="Book38.Net.CustomControl" namespace="Book38.Net.CustomControl" tagprefix="cc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
      <title></title>
  
    
    
   
   <script src="../../common/calendar1.js" language="javascript" type="text/javascript"></script>
 </head>
<body>
    <form id="form1" runat="server">
    <uc2:titlepage id="Titlepage1" runat="server" inittitle="<%$ Resources:Site, LabCreditCardList %>"></uc2:titlepage>
    
    <table class="main-table"  cellpadding="0" cellspacing="0">
      <tr class="line-even">
        <td><asp:GridView ID="gvList" runat="server" AlternatingRowStyle-CssClass="line-even"
                AutoGenerateColumns="False" CellPadding="1" CssClass="main-table" EmptyDataRowStyle-HorizontalAlign="center"
                EmptyDataText="<%$ Resources:Site, LabNoData %>" HeaderStyle-CssClass="title1" Height="35px" RowStyle-CssClass="line-odd"
                Width="100%" OnRowEditing="gvList_RowEditing"  OnRowDeleting="gvList_RowDeleting" DataKeyNames="cid" >
                <EmptyDataRowStyle HorizontalAlign="Center" />
                <Columns>
                    <asp:TemplateField>
                    <HeaderStyle  Width="250px" />
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderTemplate><asp:Label runat="server" ID="LabCreditCardType" Text="<%$ Resources:Site, LabCreditCardType %>"></asp:Label></HeaderTemplate>
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "creditcardtype")%></ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                    <HeaderStyle  Width="250px" />
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderTemplate><asp:Label runat="server" ID="LabCreditCardNo" Text="<%$ Resources:Site, LabCreditCardNo %>"></asp:Label></HeaderTemplate>
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "creditcardno")%></ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                    <HeaderStyle Width="250px" />
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderTemplate><asp:Label runat="server" ID="LabCreditCardExpirationDate" Text="<%$ Resources:Site, LabCreditCardExpirationDate %>"></asp:Label></HeaderTemplate>
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "expirationdate")%></ItemTemplate>
                    </asp:TemplateField>
                     <asp:TemplateField>
                    <HeaderStyle  Width="250px" />
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderTemplate><asp:Label runat="server" ID="LabCreditCardName" Text="<%$ Resources:Site, LabCreditCardName %>"></asp:Label></HeaderTemplate>
                    <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "cardname")%></ItemTemplate>
                    </asp:TemplateField>
                     <asp:TemplateField>
                    <HeaderTemplate><asp:Label runat="server" ID="LabDelete" Text="<%$ Resources:Site, LabDelete %>"></asp:Label></HeaderTemplate>
                    <HeaderStyle Width="80px" />
                    <ItemStyle HorizontalAlign="Center" />
                    <ItemTemplate>
                     <asp:LinkButton ID="Delete" runat="server" CommandName="Delete"><img src="../../Image/delete.gif" alt="删除" style="border:0; " /></asp:LinkButton>
                     </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <RowStyle CssClass="line-odd" />
                <HeaderStyle CssClass="title1" />
                <AlternatingRowStyle CssClass="line-even" />
            </asp:GridView>
              &nbsp;
       <table width="100%" cellpadding="1" cellspacing="0" class="main-table" id="TABLE1">
            <tr class="bttn">
                <td align="left"><asp:Label runat="server" ID="LabCreditCardType" Text="<%$ Resources:Site, LabCreditCardType %>"></asp:Label>：</td>
                <td><asp:DropDownList ID="txt_creditcardtype" runat="server" Width="150px" CssClass="text-line">
                    </asp:DropDownList></td>
                <td><asp:Label runat="server" ID="LabCreditCardNo" Text="<%$ Resources:Site, LabCreditCardNo %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_creditcardno" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td><asp:Label runat="server" ID="LabCreditCardExpirationDate" Text="<%$ Resources:Site, LabCreditCardExpirationDate %>"></asp:Label>：</td>
                 <td><cc2:WebTextBox ID="txt_expirationdate" runat="server" Width="111px" CssClass="text-line"></cc2:WebTextBox>
                     </td> 
                 <td></td> 
            </tr>
             <tr class="bttn">
                <td align="left"><asp:Label runat="server" ID="LabCreditCardName" Text="<%$ Resources:Site, LabCreditCardName %>"></asp:Label>：</td>
                <td><cc2:WebTextBox ID="txt_cardname" runat="server" Width="150px" CssClass="text-line"></cc2:WebTextBox></td>
                <td></td>
                <td></td>
                <td></td>
                 <td></td> 
                 <td></td> 
            </tr>
             <tr class="line-even">
                <td colspan="7" align="center">
                <asp:HiddenField ID="HiddenField1" runat="server" />
                    <asp:HiddenField ID="CId" runat="server" />
                     <asp:HiddenField ID="UId" runat="server" />
                   <asp:Button ID="BtnAdd" runat="server" CssClass="bttn" Text="<%$ Resources:Site, ButtonSave %>" OnClick="BtnAdd_Click" />
                
                   </td>
           </tr> 
        </table> 
        </td>
      </tr>
    </table>
    
    </form>
   
   
</body>
</html>
